#!/usr/bin/env python
"""
@version: python3.9
@project:socketAuto
@file:   run_pytest.py
@date:   2021/6/4 15:11
@Author: jia
@Desc:
run文件夹下配置pytest.ini可以自定义配置参数
"""

import pytest

""" 
 # [0x7FFDA42FE0A4] ANOMALY: use of REX.w is meaningless (default operand size is 64)
 # 命令行报以上错误时打开注册表“regedit”
 # HKEY_LOCAL_MACHINE/SOFTWARE/TEC/Ocular.3/agent/config.yaml.yml 添加二进制数值
 # hookapi_disins,数值数据: 1
 """

if __name__ == '__main__':
    # 主函数执行
    pytest.main(['-s', '-m=not smoke', '../Case/test/debug.py'])
    # pytest.main(['-s', '../Common/assert_request.py'])


# if __name__ == '__main__':
#     # 控制台生成测试报告
#     pytest.main(['-s', '../Common/common_data_driven.py'])
#     os.system('allure generate ../Temp -o ../Report/allure_report --clean')


# Terminal下执行
# pytest -s Case/test/test_case1.py  --alluredir=Report/temp
# allure generate Report/temp -o Report/allure_report --clean
